import request from '@/utils/request'


export function findList(params) {
    return request({
        url: '/system/adminMenu/list',
        method: 'get',
        params:params
    })
}

export function deleteOne(id) {
    return request({
        url: '/system/adminMenu/'+id,
        method: 'delete',
    })
}

export function getDetail(id) {
    return request({
        url: '/system/adminMenu/detail/'+id,
        method: 'get'
    })
}

export function saveOne(data) {
    return request({
        url: '/system/adminMenu',
        method: 'post',
        data:{entity:data}
    })
}

export function getPermissions() {

}



